Optimal. Leaf size=47 \[ \frac {2 \sqrt {\cos (c+d x)} F\left (\left .\text {ArcSin}\left (\frac {\sin (c+d x)}{1+\cos (c+d x)}\right )\right |5\right )}{d \sqrt {-\cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {2893, 2892}
\begin {gather*} \frac {2 \sqrt {\cos (c+d x)} F\left (\left .\text {ArcSin}\left (\frac {\sin (c+d x)}{\cos (c+d x)+1}\right )\right |5\right )}{d \sqrt {-\cos (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2892
Rule 2893
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {-\cos (c+d x)} \sqrt {-2+3 \cos (c+d x)}} \, dx &=\frac {\sqrt {\cos (c+d x)} \int \frac {1}{\sqrt {\cos (c+d x)} \sqrt {-2+3 \cos (c+d x)}} \, dx}{\sqrt {-\cos (c+d x)}}\\ &=\frac {2 \sqrt {\cos (c+d x)} F\left (\left .\sin ^{-1}\left (\frac {\sin (c+d x)}{1+\cos (c+d x)}\right )\right |5\right )}{d \sqrt {-\cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(158\) vs. \(2(47)=94\).
time = 0.43, size = 158, normalized size = 3.36 \begin {gather*} \frac {4 \sqrt {\cot ^2\left (\frac {1}{2} (c+d x)\right )} \sqrt {\cos (c+d x) \csc ^2\left (\frac {1}{2} (c+d x)\right )} \sqrt {-\left ((-2+3 \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )\right )} \csc (c+d x) F\left (\text {ArcSin}\left (\frac {1}{2} \sqrt {-\left ((-2+3 \cos (c+d x)) \csc ^2\left (\frac {1}{2} (c+d x)\right )\right )}\right )|\frac {4}{5}\right ) \sin ^4\left (\frac {1}{2} (c+d x)\right )}{\sqrt {5} d \sqrt {-\cos (c+d x)} \sqrt {-2+3 \cos (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(108\) vs.
\(2(44)=88\).
time = 0.22, size = 109, normalized size = 2.32
method | result | size |
default | \(\frac {2 \EllipticF \left (\frac {-1+\cos \left (d x +c \right )}{\sin \left (d x +c \right )}, \sqrt {5}\right ) \sqrt {\frac {-2+3 \cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \left (\sin ^{2}\left (d x +c \right )\right )}{d \sqrt {-2+3 \cos \left (d x +c \right )}\, \left (-1+\cos \left (d x +c \right )\right ) \sqrt {-\cos \left (d x +c \right )}}\) | \(109\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {- \cos {\left (c + d x \right )}} \sqrt {3 \cos {\left (c + d x \right )} - 2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{\sqrt {-\cos \left (c+d\,x\right )}\,\sqrt {3\,\cos \left (c+d\,x\right )-2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________